//ex3_5.cpp
#include <ios>
#include <iostream>

int main(void)
{
    using namespace std;
    long double world, usld;
    long double res;
    cout << "Enter the world's population: ";
    cin >> world;
    cout << "Enter the population of the US: ";
    cin >> usld;

    res = (usld / world) * 100;
    
    cout.setf(ios_base::fixed, ios_base::floatfield);
    cout << "The population of the US is " << res
         << "% of the world population." << endl;

}